﻿using System.Windows.Browser;
using System.Windows.Controls;

namespace HelloWorld.Controls
{
    [ScriptableType]
    public class MyTextBlock
    {        
        public MyTextBlock(TextBlock block)
        {
            Control = block;
        }

        public TextBlock Control
        {
            get; private set;
        }

        public string Text
        {
            get
            {
                return Control.Text;
            }
        }
    }
}
